#ifndef FILEREADER_H
#define FILEREADER_H

#include ".\allegro\include\allegro.h"
#include <iostream>
#include <fstream>
#include <string>
#include <vector>



#define MAX_PATH_LENGTH 256

class FileReader{
public:
	FileReader();
	~FileReader();

	bool OpenFile(char* file_path);
	bool CloseFile();

    std::string ReadLine();
	
	
	std::string ReadToken();
	std::string GetToken(unsigned int i);
	unsigned int GetTotalTokens();

	bool TokenizeFile();

protected:
	std::ifstream readFile;
	std::string lineBuffer;
	std::string tokenBuffer;
	std::vector<std::string> tokens;
	

};

#endif